<template>
	<view class="createAiPersonSuccess bg-white">
		<u-alert title="提示" type = "success" :description = "description"  :show-icon="true"></u-alert>
		<view class="createAiPersonSuccess-btnList flex justify-between">
			<view class="createAiPersonSuccess-btnList-btn">
				<u-button @click="goBackBtnClick" text="返回首页" type="primary" size="large"></u-button>
			</view>
			
		</view>
	</view>
</template>

<script>
	import api from "@/api/api";
	export default {
		data() {
			return {
				description: "AI正在后台为您创建数字人，该过程可能需要5~10分钟，请耐心等待。 您也可以返回首页，点击“我的数字人”菜单，查看生成状态"
			};
		},
		components: {
		},
		props: {
		},
		computed: {
		},
		onReady() {
		},
		onLoad() {
		},
		mounted() {
		},
		onShow() {
		},
		methods: {
			goBackBtnClick() {
				uni.reLaunch({
					url:"/pages/index/menus"
				})
			}
		}
	};
</script>

<style lang="less" scoped>
	.createAiPersonSuccess {
		height: 100vh;
		&-btnList {
			width: 100vw;
			padding-left: 2vw;
			padding-right: 2vw;
			position: fixed;
			bottom: env(safe-area-inset-bottom);
			&-btn {
				width: 96vw;
			}
		}
	}
</style>
